<html>
	<head></head>
	<body>
		<script type="text/javascript" src="../../small-jsunit.js"></script>
		
		<h3>assert.equals(...) Test Case</h3>
		<tt>
		<script type="text/javascript">

			function EqualsTestCase() {
				
				this.beforeClass = function() {
					assert.isDefined(assert.equals);
				};
	
				this.testAffirmative = function() {
					assert.equals(6, 2 * 3);
				};
	
				this.testNegative = function() {
					try {
						assert.equals(7, 2 * 3);
						assert.fail("2 * 3 != 7");
					} catch (e) {
						assert.isJsUnitException(e);
					}
				};
			};

			runner.documentTestCaseRunner(new EqualsTestCase());
			
		</script>
		</tt>
	</body>
</html>
